package yieldCurve;

public class Instrument {
	String subType;
	double marketRate;
	
	/** Interface class to describe instruments.
	 * 
	 * @param subType Subtype of instrument
	 * @param marketRate Rate of given subtype
	 */
	public Instrument(String subType, double marketRate) {
		this.subType = subType;
		this.marketRate = marketRate; // percentage stored in .csv
	}
	
	public String getSubType() {
		return subType;
	}
	
	public double getMarketRate() {
		return marketRate;
	}
}